package edu.cqie.smartfarm.dto;

import edu.cqie.smartfarm.verify.anno.Status;
import io.swagger.annotations.ApiModelProperty;
import lombok.Data;

import javax.validation.constraints.NotNull;

@Data
public class DictionaryUpdateDTO {
    @ApiModelProperty(value = "字典数据唯一标识符，自增主键")
    @NotNull(message = "字典数据id不能为空")
    private Integer dictionaryDataId;

    @Status
    @NotNull(message = "状态不能为空")
    private Integer status;
}
